import Vue from 'vue'
import App from './App.vue'
//导入粒子特效模块
import VueParticles from 'vue-particles';
Vue.use(VueParticles);
 
//导入饿了么全局组件
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

//导入Vuex
import store from '../src/store'

//导入路由模块
import router from '../src/router'
//导入swiper组件库



import '../node_modules/swiper/css/swiper.min.css'
import '../node_modules/swiper/js/swiper.min.js'

//导入distpicker地址选择器

import VDistpicker from 'v-distpicker'

//导入阿里图标
import '../src/assets/icon/iconfont.css';

//导入放大图片

import VueDirectiveImagePreviewer from 'vue-directive-image-previewer'
import 'vue-directive-image-previewer/dist/assets/style.css'

import echarts from 'echarts'  //引入echarts


import { CountDown } from 'vant';
import { PasswordInput, NumberKeyboard } from 'vant';

Vue.use(PasswordInput);
Vue.use(NumberKeyboard)

Vue.use(CountDown);

Vue.prototype.$echarts = echarts  //注册组件

Vue.use(VueDirectiveImagePreviewer)
Vue.config.productionTip = false

Vue.component('v-distpicker', VDistpicker)
new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')

